package com.wechat.dao;

import com.wechat.entity.WechatUser;
import org.springframework.stereotype.Component;

@Component
public interface WechatUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WechatUser record);

    int insertSelective(WechatUser record);

    WechatUser selectByPrimaryKey(Integer id);

    WechatUser selectByOpenId(String openId);

    int updateByPrimaryKeySelective(WechatUser record);

    int updateByPrimaryKey(WechatUser record);
}